//
//  BCRouterNavigation.h
//  BanChinaFramework
//
//  Created by Ann on 2024/3/11.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface BCRouterNavigation : NSObject
+ (void)autoHidesBottomBarWhenPushed:(BOOL)hide;

+ (UIViewController *)currentViewController;

+ (nullable UINavigationController *)currentNavigationViewController;

+ (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated;

+ (void)pushViewController:(UIViewController *)viewController replace:(BOOL)replace animated:(BOOL)animated;

+ (void)pushViewControllerArray:(NSArray *)viewControllers animated:(BOOL)animated;

+ (void)presentViewController:(UIViewController *)viewController animated:(BOOL)animated completion:(void (^ __nullable)(void))completion;

+ (void)closeViewControllerAnimated:(BOOL)animated;

@end

NS_ASSUME_NONNULL_END
